﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Streambolics
{
    public static class TypeExtensions
    {
        public static bool IsClassOrSubclassOf (this Type t, Type other)
        {
            return t == other || t.IsSubclassOf (other);
        }
    }
}
